package com.navinfo.platform.bigdata.hive.dto;

import java.util.List;

public class FaultInfoDto {
    private int faultType;
    private int subSpeed;
    private int accelerator;
    private int brakeSignal;
    private int rotation;
    private int engineTurbochargedPressure;
    private int engineIntakePressure;
    private int engineExhaustTemperature;
    private int engineCoolantTemperature;
    private int accelerationRate;
    private int gear;
    private int engineOutputTorque;
    private int load;
    private int engineLoad;
    private int vehicleAcceleration;
    private int vehicleSpeedReduction;
    private int faultCodeCount;
    private List<FaultItem> faultItemList;

    public FaultInfoDto() {
    }

    public int getFaultType() {
        return faultType;
    }

    public void setFaultType(int faultType) {
        this.faultType = faultType;
    }

    public int getSubSpeed() {
        return subSpeed;
    }

    public void setSubSpeed(int subSpeed) {
        this.subSpeed = subSpeed;
    }

    public int getAccelerator() {
        return accelerator;
    }

    public void setAccelerator(int accelerator) {
        this.accelerator = accelerator;
    }

    public int getBrakeSignal() {
        return brakeSignal;
    }

    public void setBrakeSignal(int brakeSignal) {
        this.brakeSignal = brakeSignal;
    }

    public int getRotation() {
        return rotation;
    }

    public void setRotation(int rotation) {
        this.rotation = rotation;
    }

    public int getEngineTurbochargedPressure() {
        return engineTurbochargedPressure;
    }

    public void setEngineTurbochargedPressure(int engineTurbochargedPressure) {
        this.engineTurbochargedPressure = engineTurbochargedPressure;
    }

    public int getEngineIntakePressure() {
        return engineIntakePressure;
    }

    public void setEngineIntakePressure(int engineIntakePressure) {
        this.engineIntakePressure = engineIntakePressure;
    }

    public int getEngineExhaustTemperature() {
        return engineExhaustTemperature;
    }

    public void setEngineExhaustTemperature(int engineExhaustTemperature) {
        this.engineExhaustTemperature = engineExhaustTemperature;
    }

    public int getEngineCoolantTemperature() {
        return engineCoolantTemperature;
    }

    public void setEngineCoolantTemperature(int engineCoolantTemperature) {
        this.engineCoolantTemperature = engineCoolantTemperature;
    }

    public int getAccelerationRate() {
        return accelerationRate;
    }

    public void setAccelerationRate(int accelerationRate) {
        this.accelerationRate = accelerationRate;
    }

    public int getGear() {
        return gear;
    }

    public void setGear(int gear) {
        this.gear = gear;
    }

    public int getEngineOutputTorque() {
        return engineOutputTorque;
    }

    public void setEngineOutputTorque(int engineOutputTorque) {
        this.engineOutputTorque = engineOutputTorque;
    }

    public int getLoad() {
        return load;
    }

    public void setLoad(int load) {
        this.load = load;
    }

    public int getEngineLoad() {
        return engineLoad;
    }

    public void setEngineLoad(int engineLoad) {
        this.engineLoad = engineLoad;
    }

    public int getVehicleAcceleration() {
        return vehicleAcceleration;
    }

    public void setVehicleAcceleration(int vehicleAcceleration) {
        this.vehicleAcceleration = vehicleAcceleration;
    }

    public int getVehicleSpeedReduction() {
        return vehicleSpeedReduction;
    }

    public void setVehicleSpeedReduction(int vehicleSpeedReduction) {
        this.vehicleSpeedReduction = vehicleSpeedReduction;
    }

    public int getFaultCodeCount() {
        return faultCodeCount;
    }

    public void setFaultCodeCount(int faultCodeCount) {
        this.faultCodeCount = faultCodeCount;
    }

    public List<FaultItem> getFaultItemList() {
        return faultItemList;
    }

    public void setFaultItemList(List<FaultItem> faultItemList) {
        this.faultItemList = faultItemList;
    }


    public static class FaultItem {
        private int faultAddr;
        private int SPN;
        private int FMI;


        public int getFaultAddr() {
            return faultAddr;
        }

        public void setFaultAddr(int faultAddr) {
            this.faultAddr = faultAddr;
        }

        public int getSPN() {
            return SPN;
        }

        public void setSPN(int SPN) {
            this.SPN = SPN;
        }

        public int getFMI() {
            return FMI;
        }

        public void setFMI(int FMI) {
            this.FMI = FMI;
        }
    }
}
